package com.ict.web.domain;

import java.time.LocalDateTime;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ict.common.annotation.Excel;
import com.ict.web.controller.file.domain.YzqFile;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 技术职称对象 yzq_technical_title
 * 
 * @author liujie
 * @date 2022-02-23
 */
@TableName("yzq_technical_title")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TechnicalTitle
{
    private static final long serialVersionUID = 1L;

    public static final String DELETE_STATUS_NORMAL = "0";
    public static final String DELETE_STATUS_UNNOTAL ="1";

    @ApiModelProperty(value = "技术职称id")
    @TableId(value = "technical_id",type = IdType.ASSIGN_ID)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long technicalId;

    @ApiModelProperty(value = "专家id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long expertId;

    @ApiModelProperty(value = "职称名称")
    private String jobTitle;

    @ApiModelProperty(value = "通过时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date passingTime;

    @ApiModelProperty(value = "截止时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date deadline;

    @ApiModelProperty(value = "附件")
    private String technicalFile;

    @ApiModelProperty(value = "附件文件")
    @TableField(exist = false)
    private YzqFile technicalFileDoc;

    @ApiModelProperty(value = "删除状态{0：正常 1：删除}")
    private String delFlag;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;

}
